const {mock} = require('mockjs')
const {list} = mock({
  'list|50':[{
    'id':'@id',
    'image|4-8':['@image(120x80,@color)'],
    'title':'@ctitle',
    'descript':'@cword(10,30)',
    'price|10-1000':1,
    'totalCount|1000-10000':1,
    'comment|5-10':[{
      'id':'@id',
      'nickname':'@cname',
      'avator':'@image(50x50,@color)',
      'content':'@cword(20,50)',
      'zan|10-100':1,
      'createTime':'@datetime'
    }]
  }]
})
module.exports = {list}